package org.example.springmybatisdemo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarOrder {
    private Integer id;
    private Integer userId; // 实体类必须采用驼峰命名 否则查不到 user_id ->  userId
    private Integer appointmentId;
    private Integer couponId;
    private String shopName;
    private String address;
    private String contactPhone;
    private String orderContent;
    private String totalPrice;
    private String actualPayment;
}
